package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.AdContractAdjunct;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository("AdContractAdjunctMapper")
public interface AdContractAdjunctMapper {
    Integer loadAdContractAdjunctCount(@Param("contractId") Integer contractId);

    void deleteAdContractAdjunct(@Param("contractId") Integer contractId);

    void saveAdContractAdjunct(AdContractAdjunct adContractAdjunct);

    List<AdContractAdjunct> loadAdContractAdjunctList(@Param("contractId") Integer contractId);

    void deleteAdContractAdjunctById(@Param("id") Integer id);
}
